package com.chen.learnknowledge.service;

import com.chen.learnknowledge.entity.Employee;

import java.util.List;

public interface EmployeeService {


    Long addEmpOne(Employee employee);

    void addEmps(List<Employee> employees);

    Employee getEmpById(Integer id);

    Boolean updateEmp(Employee employee);

    Integer deleteEmpById(Integer id);

    List<Employee> getPageList(Integer pageSize, Integer pageNum, String name);
}
